<?
$params[sid]=$sid;
$params[action]="client_search";
$url="$baseURL/$webDIR/?".encode_params($params);
?>

<center>
<form action="<?echo $url?>" method="post">

<TABLE class="bTable" cellspacing=0>

<TR>
	<TH>Client who wants refund</TH>
	<TH>~</TH>
</TR>
<TR>
	<TD><INPUT TYPE="text" NAME="client"></TD>
	<TD><INPUT TYPE="submit" value="search"></TD>
</TR>


<TR>
        <TH>List Clients by Reseller</TH>
        <TH>~</TH>
</TR>
<TR>
        <TD><INPUT TYPE="text" NAME="reseller"></TD>
        <TD><INPUT TYPE="submit" value="search"></TD>
</TR>
</TABLE>
</form>
<?
if($client || $reseller){
	$list=search_client($client,$reseller);
	if(!$list)  $list="<tr><td clospan=10>Nothing found<td></tr>";
?>

<table>
<?
echo $list;
?>
</table>
<?}?>
